$OpenBSD: patch-src_Makefile_in,v 1.4 2012/12/31 22:53:43 brad Exp $
--- src/Makefile.in.orig	Sat Mar 10 19:12:06 2012
+++ src/Makefile.in	Mon Dec 31 16:46:44 2012
@@ -156,7 +156,7 @@ LEX = @LEX@
 LEXLIB = @LEXLIB@
 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
 LIBEXEC_DIR = @LIBEXEC_DIR@
-LIBLTDL = @LIBLTDL@
+LIBLTDL = -lltdl
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
@@ -267,7 +267,7 @@ AUTOMAKE_OPTIONS = foreign
 libcoredir = @libdir@
 AM_YFLAGS = -d
 AM_CFLAGS = $(WARNFLAGS)
-INCLUDES = -I../libratbox/include -I../libltdl @SSL_INCLUDES@
+INCLUDES = -I../libratbox/include -I$(LOCALBASE)/include @SSL_INCLUDES@
 BUILT_SOURCES = version.c
 @MINGW_TRUE@EXTRA_FLAGS = -no-undefined -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
 libcore_la_SOURCES = \
